using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KhachHangDotThiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: KhachHangDotThiEntity</para>
	/// <para>Description: ClassKhachHangDotThiEntity store data of table KhachHangDotThi</para>
	///</summary>

	[DataContract]
	public partial class KhachHangDotThiEntity{


		private bool _InternalChangedIsNullKhachHangDotThi_ID=true;
		private bool _IsNullKhachHangDotThi_ID=true;
		private bool _InternalChangedIsNullKhachHang_ID=true;
		private bool _IsNullKhachHang_ID=true;
		private bool _InternalChangedIsNullDotThi_ID=true;
		private bool _IsNullDotThi_ID=true;
		private bool _InternalChangedIsNullSBD=true;
		private bool _IsNullSBD=true;
		private int _KhachHangDotThi_ID;
		private int _KhachHang_ID;
		private int _DotThi_ID;
		private int _SBD;
		[DataMember]
		public bool IsNullKhachHangDotThi_ID{
			get{return _IsNullKhachHangDotThi_ID;}
			set{if(!_InternalChangedIsNullKhachHangDotThi_ID)_IsNullKhachHangDotThi_ID=value;}
		}
		[DataMember]
		public bool IsNullKhachHang_ID{
			get{return _IsNullKhachHang_ID;}
			set{if(!_InternalChangedIsNullKhachHang_ID)_IsNullKhachHang_ID=value;}
		}
		[DataMember]
		public bool IsNullDotThi_ID{
			get{return _IsNullDotThi_ID;}
			set{if(!_InternalChangedIsNullDotThi_ID)_IsNullDotThi_ID=value;}
		}
		[DataMember]
		public bool IsNullSBD{
			get{return _IsNullSBD;}
			set{if(!_InternalChangedIsNullSBD)_IsNullSBD=value;}
		}
		[DataMember]
		public int KhachHangDotThi_ID{
			get{return _KhachHangDotThi_ID;}
			set{
				_KhachHangDotThi_ID=value;
				if(_KhachHangDotThi_ID!=null){
					_IsNullKhachHangDotThi_ID=false;
					_InternalChangedIsNullKhachHangDotThi_ID=true;
				}
			}
		}
		[DataMember]
		public int KhachHang_ID{
			get{return _KhachHang_ID;}
			set{
				_KhachHang_ID=value;
				if(_KhachHang_ID!=null){
					_IsNullKhachHang_ID=false;
					_InternalChangedIsNullKhachHang_ID=true;
				}
			}
		}
		[DataMember]
		public int DotThi_ID{
			get{return _DotThi_ID;}
			set{
				_DotThi_ID=value;
				if(_DotThi_ID!=null){
					_IsNullDotThi_ID=false;
					_InternalChangedIsNullDotThi_ID=true;
				}
			}
		}
		[DataMember]
		public int SBD{
			get{return _SBD;}
			set{
				_SBD=value;
				if(_SBD!=null){
					_IsNullSBD=false;
					_InternalChangedIsNullSBD=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KhachHangDotThiEntityBase*****************************************/
	/*****************************************************************************************************/
}

